import { Module } from '@nestjs/common';
import { CatygoryController } from './catygory.controller';
import { CatygoryService } from './catygory.service';;
import { MongooseModule } from '@nestjs/mongoose'
import { catygorySchema } from './category.shema'

@Module({
  imports: [MongooseModule.forFeature([{name: 'catygory', schema: catygorySchema}])],
  controllers: [CatygoryController],
  providers: [CatygoryService]
})
export class CatygoryModule {}
